package com.peas.platform.module.icims.expenditure.setting.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.expenditure.setting.adapter.repository.ExpenditureSettingsRepository;
import com.peas.platform.module.icims.expenditure.setting.adapter.repository.po.ExpenditureSettingsPo;
import com.peas.platform.module.icims.expenditure.setting.domain.ExpenditureSettingsDomain;
import com.peas.platform.module.icims.expenditure.setting.dto.ExpenditureSettingsDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class ExpenditureSettingsDomainImpl extends BaseDomainImpl<ExpenditureSettingsDto, ExpenditureSettingsPo> implements ExpenditureSettingsDomain {

    @Resource
    private ExpenditureSettingsRepository expenditureSettingsRepository;

    @Override
    public BaseRepository<ExpenditureSettingsPo> getMapper() {
        return expenditureSettingsRepository;
    }

    @Override
    public Class<? extends BaseRepository<ExpenditureSettingsPo>> getRepositoryClass() {
        return ExpenditureSettingsRepository.class;
    }

}
